﻿Imports System.Collections.Generic
Imports System.Linq
Imports System.Text


''' <summary>
''' Clase que define la entidad de negocio Empleado
''' </summary>
''' <remarks></remarks>
Public Class cEmpleado

    Private _iEmp_Legajo As Integer
    Private _sEmp_NombreAp As String
    Private _iEmp_NroInterno As Integer
    Private _sEmp_Mail As String
    Private _oDepartamento As cDepartamento
    Private _iDVH As Int32


    Public Property Emp_Legajo() As Integer
        Get
            Return _iEmp_Legajo
        End Get
        Set(value As Integer)
            _iEmp_Legajo = value
        End Set
    End Property

    Public Property Emp_NombreAp() As String
        Get
            Return _sEmp_NombreAp
        End Get
        Set(value As String)
            _sEmp_NombreAp = value
        End Set
    End Property

    Public Property Emp_NroInterno() As Integer
        Get
            Return _iEmp_NroInterno
        End Get
        Set(value As Integer)
            _iEmp_NroInterno = value
        End Set
    End Property

    Public Property Emp_Mail() As String
        Get
            Return _sEmp_Mail
        End Get
        Set(value As String)
            _sEmp_Mail = value
        End Set
    End Property

    Public Property oDepartamento() As cDepartamento
        Get
            Return _oDepartamento
        End Get
        Set(value As cDepartamento)
            _oDepartamento = value
        End Set
    End Property

    Public Property DVH() As Int32
        Get
            Return _iDVH
        End Get
        Set(value As Int32)
            _iDVH = value
        End Set
    End Property


    Public Sub New()
        _oDepartamento = New cDepartamento
    End Sub

End Class
